#define _CRT_SECURE_NO_WARNINGS 1

#include "list.h"

int main()
{
    ListNode* List = ListInit();

    ListPushFront(List, 5);
    ListPushBack(List, 6);
    ListPushBack(List, 7);
    ListPushBack(List, 8);
    ListPrint(List);

    ListNode* pos = ListFind(List, 7);
    ListChange(List, 7,1);
    ListPrint(List);

    return 0;
}